package net.huashitong.keyan.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import net.huashitong.keyan.entity.IndexMag;
import net.huashitong.keyan.filter.IndexMagFilter;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class IndexMagDao extends StringDao<IndexMag> {

    public List<IndexMag> getList(IndexMagFilter filter)
    {

        GenericQuery query = createQuery("obj");
        return query.listResult(filter);
    }
}
